from app import app, db
from app.models import Employee

e = Employee.query.get(1)

print e.exportasJSON()